/**
 * Copyright (C), 2018-2018
 * FileName: Article  * Author:   lcsos
 * Date:     2018/10/8 12:07
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.spring.elastic.bean;

import io.searchbox.annotations.JestId;

/**
 * 〈一句话功能简述〉<br>  
 *
 *
 * @author Lcs
 * @create 2018/10/8 
 * @since 1.0.0
 */

public class Article {

    @JestId//表明id为主键
    private Integer id;//文章id
    private String author;//文章作者
    private String title;//文章标题
    private String content;//文章内容

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
